package com.emep.changzhi.analyse.entity.Technology;

import lombok.Data;
import org.springframework.data.cassandra.core.cql.Ordering;
import org.springframework.data.cassandra.core.cql.PrimaryKeyType;
import org.springframework.data.cassandra.core.mapping.*;

import java.io.Serializable;

@Data
@Table("data_desulphurization_info")
public class Desulphurization  implements Serializable {


    private static final long serialVersionUID = -8896566631343141566L;
    @PrimaryKeyColumn(name = "id", ordinal = 0, type = PrimaryKeyType.PARTITIONED)
    private String id;

    @PrimaryKeyColumn(name = "time", ordinal = 1, type = PrimaryKeyType.CLUSTERED, ordering = Ordering.DESCENDING)
    private String time;

    @Column(value = "companyId")
    private String companyId;

    @Column(value = "type")
    private String type;

    @Column(value = "value")
    private String value;
}
